#coding:utf-8
import urllib

page = urllib.request.urlopen(r'https://www.baidu.com/')
html = page.read()
print(html)
pageFile = open('page.txt','w')
pageFile.write( str(html,'utf-8'))
pageFile.close()
print(html)






